package com.example.graduate.Bean;

import java.util.HashMap;
import java.util.Map;

public class Mapcontent {
    private Integer id;

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    private double latitude;

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    private double longitude;

    private String content;

    private String clolor;

    private String borderradius;

    private String bordercolor;

    private String bgcolor;

    private Integer padding;

    private String textalign;

    private Integer contentid;


    public Map<String, Object> getCallout() {
        return callout;
    }

    public void setCallout(Map<String, Object> callout) {
        this.callout = callout;
    }

    private  Map<String,Object> callout = new HashMap<>();

    public  void makeCallout(){
        callout.put("content",content);
        callout.put("color",clolor);
        callout.put("borderRadius",3);
        callout.put("textAlign",textalign);
        callout.put("padding",padding);
        callout.put("bgColor",bgcolor);
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }









    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getClolor() {
        return clolor;
    }

    public void setClolor(String clolor) {
        this.clolor = clolor == null ? null : clolor.trim();
    }

    public String getBorderradius() {
        return borderradius;
    }

    public void setBorderradius(String borderradius) {
        this.borderradius = borderradius == null ? null : borderradius.trim();
    }

    public String getBordercolor() {
        return bordercolor;
    }

    public void setBordercolor(String bordercolor) {
        this.bordercolor = bordercolor == null ? null : bordercolor.trim();
    }

    public String getBgcolor() {
        return bgcolor;
    }

    public void setBgcolor(String bgcolor) {
        this.bgcolor = bgcolor == null ? null : bgcolor.trim();
    }

    public Integer getPadding() {
        return padding;
    }

    public void setPadding(Integer padding) {
        this.padding = padding;
    }

    public String getTextalign() {
        return textalign;
    }

    public void setTextalign(String textalign) {
        this.textalign = textalign == null ? null : textalign.trim();
    }

    public Integer getContentid() {
        return contentid;
    }

    public void setContentid(Integer contentid) {
        this.contentid = contentid;
    }
}